From: Glenn Morris Date: Wed, 2 Sep 2009 06:37:25 +0000 (+0000) Subject: Pass no argument to gnus-float-time rather than current-time. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10696 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4cb222ccd727d8afe7db364cf54bd7fa1e6176f3;p=emacs.git Pass no argument to gnus-float-time rather than current-time. --- diff --git a/lisp/gnus/gnus-delay.el b/lisp/gnus/gnus-delay.el index bd781f9df30..eb227d934cd 100644 --- a/lisp/gnus/gnus-delay.el +++ b/lisp/gnus/gnus-delay.el @@ -105,7 +105,7 @@ DELAY is a string, giving the length of the time. Possible values are: (setq deadline (gnus-float-time (apply 'encode-time (append deadline nil)))) ;; If this time has passed already, add a day. - (when (< deadline (gnus-float-time (current-time))) + (when (< deadline (gnus-float-time)) (setq deadline (+ 3600 deadline))) ;3600 secs/day ;; Convert seconds to date header. (setq deadline (message-make-date @@ -128,8 +128,7 @@ DELAY is a string, giving the length of the time. Possible values are: (t (setq delay (* num 60)))) (setq deadline (message-make-date - (seconds-to-time (+ (gnus-float-time (current-time)) - delay))))) + (seconds-to-time (+ (gnus-float-time) delay))))) (t (error "Malformed delay `%s'" delay))) (message-add-header (format "%s: %s" gnus-delay-header deadline))) (set-buffer-modified-p t)